import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'



import allApi from './network/api/index.js'
Vue.prototype.$api = allApi

import stompWebsocket  from './network/https/stompWebSocket.js'
Vue.prototype.$stompWebsocket =  stompWebsocket

import tools from './utils/utils.js'
Vue.prototype.$tools= tools

import { baseApi } from './network/https/baseurl'
Vue.prototype.$URL= baseApi


import wxlog from './utils/log.js'
Vue.prototype.$wxlog = wxlog


import Notify from './wxcomponents/vant-weapp/notify/notify';
Vue.prototype.$notify = Notify

//全局注入w-loading组件
// import wLoading from "@/components/wx-loading/w-loading.vue";
// Vue.component('w-loading',wLoading)

// 全局注入aui-loading组件
import auiLoading from "@/components/aui-loading.vue";
Vue.component('aui-loading',auiLoading)


import downloadProgress from "@/components/downloadProgress.vue";
Vue.component('downloadProgress',downloadProgress)

// import uniMark from "@/components/uni-mark/uni-mark.vue";
// Vue.component('uni-mark',uniMark)


const app = new Vue({
    ...App
})
app.$mount()
